package cn.iocoder.yudao.module.member.controller.admin.friend.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户好用关系 Excel 导出 Request VO，参数和 FriendPageReqVO 是一致的")
@Data
public class FriendExportReqVO {

    @Schema(description = "用户id", example = "10171")
    private Integer userId;

    @Schema(description = "好友id", example = "21892")
    private Integer friendId;

    @Schema(description = "来源:1=邀请好友添加")
    private Integer fromType;

    @Schema(description = "状态:1=普通;2=特别关注;100=手动删除;101=黑名单", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
